//
// Created on 2024/7/22.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#ifndef HDR2SDR_HDR2SDRNATIVE_H
#define HDR2SDR_HDR2SDRNATIVE_H

#include <js_native_api.h>
#include <js_native_api_types.h>
#include "napi/native_api.h"
#include <hilog/log.h>
#include <string>
#include "InstanceManager.h"
#include "Hdr2Sdr.h"

class Hdr2SdrNative {
public:
    static napi_value Init(napi_env env, napi_callback_info info);
    static napi_value Play(napi_env env, napi_callback_info info);
    static napi_value Pause(napi_env env, napi_callback_info info);
    static napi_value Resume(napi_env env, napi_callback_info info);
    static napi_value Seek(napi_env env, napi_callback_info info);
    static napi_value Stop(napi_env env, napi_callback_info info);
    static napi_value Loop(napi_env env, napi_callback_info info);
    static napi_value SetSurface(napi_env env, napi_callback_info info);
};

#endif //HDR2SDR_HDR2SDRNATIVE_H
